﻿using GetMan.Core.Helpers;

namespace GetMan.Configs
{
    public class SystemConfig
    {
        static SystemConfig()
        {
            ConfigHelper.BindConfig<SystemConfig>();
        }

        public static string AppTitle
        {
            get; set;
        }

        /// <summary>
        /// 数据库连接字符串
        /// </summary>
        public static string ConnectionString
        {
            get; set;
        }

        /// <summary>
        /// 数据实体类查找反射程序集名
        /// </summary>
        public static string EntityAssemblyName
        {
            get; set;
        }

        /// <summary>
        /// 是否监听sql日志
        /// </summary>
        public static bool EnableMonitorDb
        {
            get; set;
        }
    }
}
